package com.andengine.editor.atlaseditor;

import com.andengine.editor.data.TextureFile;

/**
 * @author sad
 */
public class TextureFileWithUsage {

    private final TextureFile textureFile;
    private int usage;

    public TextureFileWithUsage(TextureFile textureFile, int usage) {
        this.textureFile = textureFile;
        this.usage = usage;
    }

    public TextureFile getTextureFile() {
        return textureFile;
    }

    public void setUsage(int usage) {
        this.usage = usage;
    }

    
    
    public int getUsage() {
        return usage;
    }

    @Override
    public String toString() {
        return textureFile.getSmallPath();
    }

}
